package com.zhuangjie.order.vo;

import com.zhuangjie.order.pojo.RiderLocation;
import com.zhuangjie.rider.vo.DeliveryOrderForUserOrderMapVO;
import com.zhuangjie.shop.vo.ShopForUserOrderMapVO;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * 地图展示订单
 *
 * @author zhuangjie
 * @date 2024/04/05
 */
@Getter
@Setter
public class OrderForMapShow {
    private Long id;

    private Long userId;

    private Long shopId;

    private String orderNo;

    private Integer state;

    private String remark;

    private String receivingMethod;

    private Short deliveryMethod;

    private String deliveryAddress;

    private Double consigneeLatitude;

    private Double consigneeLongitude;

    private String code;

    /**
     * 预计/实际送达时间
     */
    private LocalDateTime estimatedDeliveryTime;

    /**
     * 当前进行中的配送/自提的订单数
     */
    private Integer currentDeliveryAndSelfPickupOrderCount;

    private ShopForUserOrderMapVO shopForUserOrderMap;

    private DeliveryOrderForUserOrderMapVO deliveryOrderForUserOrderMap;

    private RiderLocation riderLocation;

    /**
     * 订单数量
     */
    private int orderCount;

}
